#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int n1 = 0;
    int n2 = 0;
    char c = 0;
    scanf("%d %c %d", &n1, &c, &n2);
    switch (c)
    {
    case '+':
        printf("%d\n", n1 + n2);
        break;
    case '-':
        printf("%d\n", n1 - n2);
        break;
    case '*':
        printf("%d\n", n1 * n2);
        break;
    case '/':
        printf("%d\n", n1 / n2);
        break;
    case '%':
        printf("%d", n1 % n2);
        break;
    default:
        printf("ERROR\n");
    }
    return 0;
}